﻿@inherits UmbracoTemplatePage
@{
    Layout = "Base.cshtml";
    Markdown md = new Markdown();
}

<section class="download-umbraco">
    <div class="container">
        <div class="row">
            <div class="col-xs-12">
                <div class="dl-content">
                    @MvcHtmlString.Create(md.Transform(Model.Content.GetPropertyValue<string>("downloadContent")))
                    
                    <a id="downloadButton" class="button white" href="@Model.Content.GetPropertyValue("downloadLink")">
                        <i class="icon-Download-alt"></i>
                        <span>@Model.Content.GetPropertyValue("downloadText")</span>
                    </a>
                    <p class="small">或者，通过nuget安装</p>
                    <span class="pm-nuget">
                        <input class="pre nuget" value="Install-Package UmbracoCms" readonly="">
                    </span>
                </div>
            </div>
        </div>
    </div>
    <div class="archive">
        <a href="@Model.Content.GetPropertyValue("releasesLink")">查看所有发行版本</a>
    </div>

</section>